package com.general.template.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Author: 杨德石
 * @Date: 2020/5/20 23:05
 * @Version 1.0
 */
@Data
@PropertySource("classpath:weixin.properties")
@Configuration
@Component
public class WeChatConfig {

    @Value("${appId}")
    private String appId;

    @Value("${appSecret}")
    private String appSecret;

    @Value("${weixinAuthUrl}")
    private String weixinAuthUrl;

}
